package com.mikufufu.blog.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 友链表
 */
@Data
@TableName(value = "blog_friend_link")
public class FriendLink implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 友链网站名
     */
    @TableField(value = "site_name")
    @ApiModelProperty(value="友链网站名")
    private String siteName;

    /**
     * 网址
     */
    @TableField(value = "site_url")
    @ApiModelProperty(value="网址")
    private String siteUrl;

    /**
     * 简介
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="简介")
    private String remark;

    /**
     * Logo/头像路径
     */
    @TableField(value = "logo_url")
    @ApiModelProperty(value="Logo/头像路径")
    private String logoUrl;

    /**
     * 站长邮箱
     */
    @TableField(value = "email")
    @ApiModelProperty(value="站长邮箱")
    private String email;

    /**
     * 状态(0.正常,1.失效,2.审核中)
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="状态(0.正常,1.失效,2.审核中)")
    private Integer status;

    /**
     * 排序权重
     */
    @TableField(value = "sort")
    @ApiModelProperty(value="排序权重")
    private Integer sort;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
}